package com.mall.utils;
import org.springframework.security.crypto.password.PasswordEncoder;
public class SysPasswordEncoder implements PasswordEncoder {
   @Override
   public String encode(CharSequence charSequence) {
      return charSequence.toString();
   }
   @Override
   public boolean matches(CharSequence charSequence, String s) {
      return s.equals(charSequence.toString());
   }
}
